function countchar(what){
  formcontent=what.form.charcount.value
  what.form.displaycount.value=formcontent.length
}

function countit(){

var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}